package com.yuebanmaoshare.file.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("favorite")
public class Favorite {
    @TableId(type = IdType.AUTO)
    private String favoriteId;
    private String userId;
    private String fileId;
    private Date createTime;
    private Date modifyTime;
    
    // 关联的文件信息
    private UserFile userFile;
} 